#ifndef MACROS_H
#define MACROS_H

#define	MaxPlayer	5
#define MaxRoundPic	3
#define MaxRound 1

typedef string T_Socket;

#define MSG_USER_LOGIN		10
#define MSG_TEST_SOCKET_RECV		11
#define MSG_TEST_SOCKET_ACCEPT	12
#define MSG_PLAYER_HOST_JOIN	13
#define MSG_PLAYER_JOIN		14
#define MSG_PLAYER_EXIT		15
#define MSG_PLAYER_EXIT_CONFIRM		16
#define MSG_ROOM_MSG	17

#define MSG_PLAYER_JOIN_ACCEPT		20
#define MSG_PLAYER_JOIN_DENY		21

#define MSG_GAME_START		30
#define MSG_GAME_START_ACCEPT		31
#define MSG_GAME_START_DENY		32
#define MSG_GAME_PACKET		33

#define MSG_ROOM_DELETE		40

#define MSG_GAME_COMMAND	50
//#define MSG_USER_		14




#define PACKET_TYPE_SOCKET	1
#define PACKET_TYPE_CONTENT	2
#define PACKET_TYPE_HOST	3

#define MAP_NOT_CONTAIN(a, b) ( (a).find(b) == (a).end() )


#define null (char *)0















#endif